export red="\033[31m"
export green="\033[32m"
export yellow="\033[33m"
export blue="\033[34m"
export purple="\033[35m"
export cyan="\033[36m"
export white="\033[37m"
export background="\033[0m"

export HOME=HOME_PATH
if [ -d $HOME/JRE17 ];then
    export PATH=$PATH:$HOME/JRE17/bin
    export JAVA_HOME=$HOME/JRE17
fi













echo -e ${white}"====="${green}白狐-QSignServer${white}"====="${background}
echo -e  ${green} 1.  ${cyan}启动签名服务器${background}
echo -e  ${green} 2.  ${cyan}关闭签名服务器${background}
echo -e  ${green} 3.  ${cyan}重启签名服务器${background}
echo -e  ${green} 4.  ${cyan}更新签名服务器${background}
echo -e  ${green} 5.  ${cyan}卸载签名服务器${background}
echo -e  ${green} 6.  ${cyan}打开签名服务器窗口/日志${background}
echo -e  ${green} 7.  ${cyan}修改签名服务器key值${background}
echo -e  ${green} 8.  ${cyan}修改签名服务器端口${background}
echo -e  ${green} 9.  ${cyan}查看签名服务器链接${background}
echo -e  ${green} 0.   ${cyan}退出${background}
echo "========================="
echo -e ${green}签名服务器脚本版本: ${Version}${background}
echo -e ${green}签名服务器适配版本: ${condition}${background}
echo -e ${green}QQ群:${cyan}狐狸窝:705226976${background}
echo "========================="
echo
echo -en ${green}请输入您的选项: ${background};read number
case ${number} in
1)
start_QSignServer
;;
2)
stop_QSignServer
;;
3)
restart_QSignServer
;;
4)
update_QSignServer
;;
5)
uninstall_QSignServer
;;
6)
log_QSignServer
;;
7)
key_QSignServer
;;
8)
port_QSignServer
;;
9)
link_QSignServer
;;
0)
exit
;;
*)
echo
echo -e ${red}输入错误${background}
exit
;;
esac